package org.wangp.framework.core.exception;

import lombok.*;

import javax.annotation.Nullable;

/**
 * @author wangpeng (๑•ᴗ•๑)
 * @date 2021/10/20 13:22
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class BusinessException extends RuntimeException {

	private static final long serialVersionUID = -7278362851435711756L;

	@Nullable
	private String message;

	private int code;
}
